home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000347_news@columbia.edu _Thu Feb 22 15:16:30 2001.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA09562
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 22 Feb 2001 15:16:30 -0500 (EST)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA22750
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 22 Feb 2001 15:16:27 -0500 (EST)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA07429
  10.     for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 15:03:02 -0500 (EST)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Re: interfacing to FANUC CNC controller
  14. Date: 22 Feb 2001 20:03:02 GMT
  15. Organization: Columbia University
  16. Message-ID: <973r9m$77v$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <A5el6.297975$w35.48976056@news1.rdc1.nj.home.com>,
  20. dls2 <dlshearer@home.com> wrote:
  21. : "Frank da Cruz" <fdc@watsun.cc.columbia.edu> wrote:
  22. : > dls2 <dlshearer@home.com> wrote:
  23. : > : but do appear in the session log.  Shouldn't the DC
  24. : > : (Device Control) characters be stripped out of the session log,
  25. : > : the same as for the terminal screen, having been interpreted
  26. : > : as XON/XOFF signaling, rather than as textual content?
  27. : > :
  28. : > But you said the DC characters were Ctrl-R and Ctrl-T.  Those are
  29. : > not Xon and Xoff.  Xon is Ctrl-Q, Xoff is Ctrl-S.  Kermit is doing
  30. : > its job.
  31. : ****
  32. : DC1    11    ^Q    device control 1 - turn on the paper tape reader.
  33. : In early documentation, this was called XON.
  34. : DC2    12    ^R    device control 2 - turn on the paper tape punch.
  35. : DC3    13    ^S    device control 3 - turn off the paper tape reader.
  36. : In early documentation, this was called XOFF, The use of
  37. : XON/XOFF (DC1/DC3) for flow control stems from their use to
  38. : control the flow of data from the paper tape reader attached to a
  39. : Teletype.
  40. : DC4    14    ^T    device control 4 - turn off the paper tape punch.
  41. : ****
  42. : http://www.cs.fiu.edu/~smithg/cop5621/lowascii.html
  43. : So, should Kermit be corrected, in this regard?
  44. No.
  45.  
  46. We don't seem to be communicating.  I know what control characters
  47. are, you don't need to explain them.  You said the "DC characters" in your
  48. log were DC2 and DC4, and wondered why they are in there.  I said it's
  49. because the device is sending them.  The session log simply records what
  50. the device sends.  An except would be Xon and Xoff (DC1 and DC3) if and
  51. only if Xon/Xoff flow control is in effect.  In this case, the OPERATING
  52. SYSTEM acts on these characters and does not pass them to the application.
  53. Kermit is not stripping them out, Kermit never gets them.
  54.  
  55. But DC2 and DC4 are not flow control characters, so Kermit gets them
  56. and records them, just as you asked it to.
  57.  
  58. There is at present no mechanism to tell K95 to strip out DC2 and DC4
  59. characters but of course you can always do this with a postprocessing step.
  60.  
  61. - Frank